-
Notifications
You must be signed in to change notification settings - Fork 0
ROX-30730: add scan-image-vulnerabilities action #72
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
msugakov
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Skipped readme and some smaller details in the action.
|
@msugakov The action now:
The script has the following improvements:
You can check how this looks in the summary for https://github.com/stackrox/stackrox/actions/runs/20063752468 |
msugakov
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Made a pass. I'll likely find something else in subsequent iterations.
release/check-image-vulnerabilities/check-image-vulnerabilities.sh
Outdated
Show resolved
Hide resolved
release/check-image-vulnerabilities/check-image-vulnerabilities.sh
Outdated
Show resolved
Hide resolved
release/check-image-vulnerabilities/check-image-vulnerabilities.sh
Outdated
Show resolved
Hide resolved
release/check-image-vulnerabilities/check-image-vulnerabilities.sh
Outdated
Show resolved
Hide resolved
release/check-image-vulnerabilities/check-image-vulnerabilities.sh
Outdated
Show resolved
Hide resolved
release/check-image-vulnerabilities/check-image-vulnerabilities.sh
Outdated
Show resolved
Hide resolved
release/check-image-vulnerabilities/check-image-vulnerabilities.sh
Outdated
Show resolved
Hide resolved
This reverts commit 14030cb.
e060327 to
e6f53b0
Compare
msugakov
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry, could cover only a small part today. Please expect follow-ups.
release/scan-image-vulnerabilities/scan-image-vulnerabilities.sh
Outdated
Show resolved
Hide resolved
release/scan-image-vulnerabilities/scan-image-vulnerabilities.sh
Outdated
Show resolved
Hide resolved
msugakov
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Finished the full pass.
release/scan-image-vulnerabilities/scan-image-vulnerabilities.sh
Outdated
Show resolved
Hide resolved
release/scan-image-vulnerabilities/scan-image-vulnerabilities.sh
Outdated
Show resolved
Hide resolved
…total findings by not relying on roxctl summary
release/scan-image-vulnerabilities/scan-image-vulnerabilities.sh
Outdated
Show resolved
Hide resolved
release/scan-image-vulnerabilities/scan-image-vulnerabilities.sh
Outdated
Show resolved
Hide resolved
release/scan-image-vulnerabilities/scan-image-vulnerabilities.sh
Outdated
Show resolved
Hide resolved
release/scan-image-vulnerabilities/scan-image-vulnerabilities.sh
Outdated
Show resolved
Hide resolved
msugakov
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great! https://github.com/stackrox/stackrox/actions/runs/20992238662
One last comment, after which please ship it!
release/scan-image-vulnerabilities/scan-image-vulnerabilities.sh
Outdated
Show resolved
Hide resolved
Co-authored-by: Misha Sugakov <[email protected]>
Description
Partners with stackrox/stackrox#17985
This PR mostly extracts the existing image scan logic into a composable action.
Validation
https://github.com/stackrox/stackrox/actions/runs/20063752468
Why did I not test with
test-gh-actions?The workflow there still uses quay.io ratings: https://github.com/stackrox/test-gh-actions/blob/main/.github/workflows/scripts/check-image-vulnerabilities.py and wasn't updated after stackrox/stackrox#10836.